package view.views.dialogButtonViews;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

import model.Constants;

/**
 * @author Alexander Müller
 * 
 */
public class ConfirmButtonPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private final JButton ok, close;

	public ConfirmButtonPanel() {

		this.setLayout(new FlowLayout(FlowLayout.RIGHT));

		ok = new JButton(Constants.OK);
		close = new JButton(Constants.CLOSE);

		this.add(ok);
		this.add(close);
	}

	public JButton getOKButton() {
		return ok;
	}

	public JButton getCloseButton() {
		return close;
	}

}
